// Copyright 2021 Guoyoko. All Rights Reserved.

#pragma once

#include "UObject/Object.h"
#include "UObject/ObjectMacros.h"
#include "CustomizeFlowAsset.generated.h"


/**
 * Implements an asset that can be used to Edit behavior.
 */
UCLASS(BlueprintType, hidecategories=(Object))
class CUSTOMIZEFLOWRUNTIME_API UCustomizeFlowAsset: public UObject
{
	GENERATED_BODY()

public:
	/** */
	void Begin();
	void Tick(float DeltaTime);
	void End();
	/** */

	void SetRootNode(UObject* InRootNode);
public:

#if WITH_EDITORONLY_DATA
	UPROPERTY()
		class UEdGraph* EdGraph = nullptr;
#endif

private:
	UPROPERTY()
		class UCustomizeFlowFlowTaskNode* RootNode;

	UPROPERTY()
		class UCustomizeFlowFlowTaskNode* CurrentTaskNode;

};

